package zhihuilan.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import zhihuilan.entity.MyMember;
import zhihuilan.entity.MyStaff;

@Mapper
public interface MyMemberMapper extends BaseMapper<MyMember> {
    /**
     * 查询会员表中邀请码的最大值
     * */
    @Select("select Max(invitecode) from my_member")
    String findMaxInvitecode();
}
